home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
cmds
/
dviselect
/
dvi.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-15
|
853b
|
34 lines
/*
* Copyright (c) 1987 University of Maryland Department of Computer Science.
* All rights reserved. Permission to copy for any purpose is hereby granted
* so long as this copyright notice remains intact.
*/
/* DVI file info */
/*
* Units of distance are stored in scaled points, but we can convert to
* units of 10^-7 meters by multiplying by the numbers in the preamble.
*/
/* the structure of the stack used to hold the values (h,v,w,x,y,z) */
struct dvi_stack {
i32 h; /* the saved h */
i32 v; /* the saved v */
i32 w; /* etc */
i32 x;
i32 y;
i32 z;
};
struct dvi_stack dvi_current; /* the current values of h, v, etc */
int dvi_f; /* the current font */
#define dvi_h dvi_current.h
#define dvi_v dvi_current.v
#define dvi_w dvi_current.w
#define dvi_x dvi_current.x
#define dvi_y dvi_current.y
#define dvi_z dvi_current.z